package com.ajoclass.demo.order.service;

import com.ajoclass.demo.order.entity.Order;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

public interface OrderService {
    Order findByOrderSn(String orderSn);

    Order save(Order order);

    Page<Order> findAll(int current, int rowCount);
}
